package com.smedi.ismedi.inmail.core.domain.repository;

import com.smedi.ismedi.inmail.core.domain.aggregatemodel.MessageRecord;

import java.util.List;

public interface MessageRecordRepository {
    List<MessageRecord> doList(List<Long> ids);

    MessageRecord doQuery(Long id);

    MessageRecord doUpdate(MessageRecord messageRecord);

    List<MessageRecord> doInsertList(List<MessageRecord> messageRecord);

    List<MessageRecord> doUpdateList(List<MessageRecord> messageRecords);

    Boolean doDelete(List<Long> id);
}
